<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libdispatch</Name>
        <Homepage>https://apple.github.io/swift-corelibs-libdispatch/</Homepage>
        <Packager>
            <Name>Pisilinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Packager>
        <License>Apache-2</License>
        <IsA>library</IsA>
        <Summary>Grand Central Dispatch.</Summary>
        <Description>Grand Central Dispatch (GCD or libdispatch) provides comprehensive support for concurrent code execution on multicore hardware.</Description>
        <Archive sha1sum="d4be580d2aa6f7d2d066216a41035c853f73dd2b" type="targz">
            https://github.com/apple/swift-corelibs-libdispatch/archive/refs/tags/swift-5.5-RELEASE.tar.gz
        </Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>llvm-clang</Dependency>
            <Dependency>llvm-clang-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="0">avoid-libkqueue.patch</Patch>
            <Patch level="0">remove-werror.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libdispatch</Name>
        <RuntimeDependencies>
            <Dependency>llvm-libs</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libdispatch-devel</Name>
        <RuntimeDependencies>
            <Dependency release="current">libdispatch</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2022-11-25</Date>
            <Version>5.5</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="3">
            <Date>2021-09-12</Date>
            <Version>5.4.2</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="2">
            <Date>2021-02-24</Date>
            <Version>5.3</Version>
            <Comment>Rebuild for llvm.</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2020-12-31</Date>
            <Version>5.3</Version>
            <Comment>First build.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
    </History>
</PISI>
